<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="../easyui-1.4.4/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="../easyui-1.4.4/themes/icon.css">
    <script src="../easyui-1.4.4/jquery-3.1.1.js"></script>
    <script src="../easyui-1.4.4/jquery.easyui.min.js"></script>
    <script src="../../js/util.js"></script>
</head>
<body>

<input  id="test" class="easyui-textbox" data-options="value:'111.683204,40.833489',buttonText:'点击选点',onClickButton:jumpMapSelectPoint," style="width:300px">
<script>
    function onclickItem() {
        alert("onclick");
    }
//
//    function onblurItem() {
//        alert("onblur");
//    }
//
//    function onfocusItem() {
//        alert("onfocusItem");
//    }

    function onClickButton() {
        var value=this.value;
        var param=null;
        if(value)
        {
            param={
                center:value,
            };
        }
        var id=this.id;
        var callback=function (data) {
            $("#"+id).textbox("setValue",data.lng+","+data.lat);
        };
        openSelectWindow("../../myDemo/open_window/selectMap.html","test",param,callback);
    }
</script>
</body>
</html>